Crate ambient_std
source ·Re-exports
pub use ambient_asset_cache as asset_cache;
pub use ambient_color as color;
pub use ambient_math as math;
Modules
- Provides time related functionality like Clocks and TimeInfo. Also extends Duration for easier construction like 5.secs().
Macros
- Read a file as a string during debug at runtime, or use include_str at release
- Read a file as a byte vec during debug at runtime, or use include_bytes at release
- Consumes and logs the error variant.
Structs
Traits
- Allows shorter function names to convert duration into intergral types
- Trait that allows easier construction of durations
Functions
- Helper for constructing a Cb.
Type Definitions
- A helper type for callbacks that wraps around a function type with an
Arc
that implementsDebug
.